/*
 * Failure.h
 *
 *  Created on: Jan 27, 2011
 *      Author: bvd
 */

#ifndef FAILURE_H_
#define FAILURE_H_

#include "State.h"
#include "../Context.h"
#include "../Command/RestartCommand.h"

namespace application {
	class Failure : public State {
	public:
		static Failure* getInstance();
		void restart(Context*);
		void exit(Context*);
	private:
		Failure();
		virtual ~Failure();
		static Failure* pInstance;
	};
}
#endif /* FAILURE_H_ */
